﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Logistics_Management_System.Objects;

namespace Logistics_Management_System.Transportation
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ITransportation_Service" in both code and config file together.
    [ServiceContract]
    public interface ITransportation_Service
    {
        [OperationContract]
        List<LG_Transportation> GetAllTransportations();

        [OperationContract]
        ReturnBool AddNewTransportaion(LG_Transportation trans);

        [OperationContract]
        ReturnBool EditInfoTransportaion(int trans_id, LG_Transportation trans_update);

        [OperationContract]
        ReturnBool RemoveTransportaion(int trans_id);
        
    }
}
